angular.module('wechat', [])
    .config(function (RouteProvider) {

        RouteProvider.setRoute([{
            name : 'wechat.menu',
            label: '微信菜单'
        }, {
            name : 'wechat.template',
            label: '微信模版'
        }, {
            name : 'wechat.user',
            label: '微信用户',
            controller: 'wechat.user',
            files: [
                'wechat/user/user.js'
            ]
        }]);
    })
    .run(function ($rootScope, Route) {
        $rootScope.routes = Route.getRoute();
    });